package com.blb.service;

import com.blb.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wss
 * @since 2020-05-22
 */
public interface IOrderService extends IService<Order> {

    List<Order> getPages(@Param("start") Integer start, @Param("length") Integer length, @Param("sldd") String sldd,@Param("orderStatus") String orderStatus
            ,@Param("orderId")String orderId ,@Param("orderTime")String orderTime,@Param("cuId")String cuId);

    Integer getCount(String cuId);

    Integer getCount(String cuId,String orderStatus);

    Order getByOrderID(String orderId);

    String getSumById(String orderId);

    Order getAll(@Param("orderId") String orderId);

    Integer getCountByOrderStatus(@Param("orderStatus")String orderStatus,@Param("cuId")String cuId);
}
